package com.example.mapper;

import com.example.entity.PostComments;

import java.util.List;

public interface PostCommentsMapper {

    /*
     * 新增
     * */
    int insert(PostComments postComments);

    /*
     * 删除
     * */
    void deleteById(Integer id);

    /*
     * 修改
     * */
    int updateById(PostComments postComments);

    /*
     * 根据ID查询
     * */
    PostComments selectById(Integer id);

    /*
     * 查询所有
     * */
    List<PostComments> selectAll(PostComments postComments);
}
